<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Loader extends CI_Loader{
     
    //开启新的视图目录
    public function view_path($path)
    {
        $this->_ci_view_paths = array(FCPATH.$path =>true);
    }
   
}